DomainObjects Class Library

InsertByQuery<InsertIntoClass,SelectFromClass> Members

InsertByQuery<InsertIntoClass,SelectFromClass> overview

Public Instance Constructors

InsertByQuery<InsertIntoClass,SelectFromClass> Constructor Constructs an empty insert command.

Public Instance Properties

CommandTimeout (inherited from DomainObjects.DbAccess.Command.SqlStatement.ObjectModel.BatchStatement) Gets or sets the wait time before terminating the attempt to execute a SQL statement and generating an error.
Distinct Gets or sets a value indicating whether only unique rows can appear in the result set. Null values are considered equal for the purposes of the DISTINCT keyword.
ExplicitSelectFields Gets the select fields.
Having The criteria that will be converted to the HAVING clause of the SQL select statement.
IsTopSpecified Gets a value indicating whether top is specified.
SelectDistinct Determine if duplicate rows will be removed when this object is queried from the database.
SetIdentityInsertOn Gets or sets a value indicating whether to set identity insert on.
TargetClass Gets the class being targeted by this query.
TargetTableMappedObject Gets the target table mapped object.
Top Gets or sets the number of rows that will be returned from the query result set.
UnionedQueries 
Where Gets or sets the criteria that will be converted to the WHERE clause of the SQL SELECT statement.

Public Instance Methods

Accept Accepts a visitation.
AddInsertFieldOverloaded. Specify a field whose value will be inserted by this command.
AddUnion Unions the given query with this query using the 'UNION' SQL clause.
AddUnionAll Unions the given query with this query using the 'UNION ALL' SQL clause.
BuildObjectGraphQuery Builds the object graph query.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
Execute Executes this insert against the database. If a transaction is in progress when the Execute method is called, then this insert will execute as part of that transaction. If a transaction is not in progress, then this insert will execute and commit as part of a new transaction. If this insert command gets executed as part of a transaction that contains edited objects, then this command will get executed before the object modification commands are executed against the database.
GetClassesToRetrieve Builds the classes to retrieve.
GetFullTableName Get the fully qualified name of the table to which this object maps.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetImmediateChildExpressions Gets the child object model expressions that are directly contained by this expression.
GetInsertableFields Get the set of insertable Fields to which this object, and any of its sub-types, maps. This is the set of ColumnFields that are populated by the middle tier when a row is inserted into the database.
GetNaturalIdentifier Get a string that identifies this object to a person familiar with the object model. Used when an instance of this field is part of a logging or assertion statement.
GetRootTableMappedObject Returns the root table mapped object in this query path; i.e., the starting point of this join path.
GetSelectableFields Get the set of selectable Fields to which this object, and any of its sub-types, maps.
GetType (inherited from Object)Gets the Type of the current instance.
GetUpdatableFields Get the set of updatable ColumnFields to which this object, and any of its sub-types, maps. This list would exclude, for example, any primary key columns.
HasAnyComputedPrimaryKeyColumns Determines whether this table mapped object has any computed primary key columns.
IsCount Determines whether this instance represents a SQL COUNT statement.
ToString (inherited from Object)Returns a String that represents the current Object.

See Also

InsertByQuery<InsertIntoClass,SelectFromClass> Class | DomainObjects.Facade.Command Namespace